#include "StdAfx.h"
#include "TdBulkConnection.h"

using namespace System;
using namespace System::Security;
namespace TPT = TdParallelTransportApi;

TPT::TdBulkConnection::TdBulkConnection(
	String^ server, String^ database, String^ username, SecureString^ password) :
		m_Server(server),
		m_Database(database),
		m_Username(username),
		m_Password(password)
{
}

String^
TPT::TdBulkConnection::Server::get()
{
	return m_Server;
}

String^
TPT::TdBulkConnection::Database::get()
{
	return m_Database;
}

String^
TPT::TdBulkConnection::Username::get()
{
	return m_Username;
}

SecureString^
TPT::TdBulkConnection::Password::get()
{
	return m_Password;
}
